package service;

import dao.IEmployeeDao;
import domain.Employee;
import java.util.List;

public class EmployeeService implements IEmployeeService {
    private IEmployeeDao employeeDao;

    public IEmployeeDao getEmployeeDao() {
        return employeeDao;
    }

    public void setEmployeeDao(IEmployeeDao employeeDao) {
        this.employeeDao = employeeDao;
    }

    public List<Employee> findEmployee(Employee employee) {
        return employeeDao.findEmployee(employee);
    }

}


